package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IAlertHandleService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component("alertJob")
@RequiredArgsConstructor
public class AlertJob {
    private final IAlertHandleService alertHandleService;
    
    public void deviceDataAlertFilter() {
        log.info("定时执行报警任务");
        alertHandleService.alertFilter();
    }
}